<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui" 
	  xmlns:c="http://java.sun.com/jstl/core"
	  xmlns:sf="http://www.springframework.org/tags/faces">
<f:view contentType="text/html" encoding="UTF-8">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Howelly</title>
	<p:resources />
	<sf:includeStyles/>
	<sf:resourceGroup>
		<sf:resource path="/css-framework/css/tools.css"/>
		<sf:resource path="/css-framework/css/typo.css"/>
		<sf:resource path="/css-framework/css/forms.css"/>
		<sf:resource path="/css-framework/css/layout-navtop-localleft.css"/>
		<sf:resource path="/css-framework/css/layout.css"/>
		<!-- the following script defines the Calendar.setup helper function, which makes
       adding a calendar a matter of 1 or 2 lines of code. -->
		<sf:resource path="/jscalendar-1-1.0/calendar-win2k-cold-1.css"/>
		<sf:resource path="/jscalendar-1-1.0/calendar.js"/>
		<sf:resource path="/jscalendar-1-1.0/lang/calendar-en.js"/>
		<sf:resource path="/jscalendar-1-1.0/calendar-setup.js"/>
	
	</sf:resourceGroup>
	<sf:resource path="/styles/booking2.css"/>
	<ui:insert name="headIncludes"/>
</head>
<body class="tundra spring">

<div id="page" style="width: 1000px">
	<div id="header" class="clearfix spring"  style="background-color: gray;"> 
		<div id="welcome">
			<div class="left">Howelly </div>
			<div class="right">
				<c:if test="${not empty currentUser.name}">
	            	Hola:  ${currentUser.name} | <a href="${request.contextPath}/spring/logout">Cerrar Sesion</a>
				</c:if>
				<c:if test="${empty currentUser.name}">
	            	<a href="${request.contextPath}/spring/login">Login</a>
				</c:if>
			</div>
		</div>
		<div id="branding" style="width: 370px" class="spring">
			<a href="#{request.contextPath}"><img src="${request.contextPath}/resources/images/header.jpg" alt="Spring Travel"/></a>
		</div>
	</div>
	<div id="content" class="clearfix spring" style="width: 1%">
		<div id="main">
			<ui:insert name="content"/>
		</div>
	</div>
	<div id="footer" class="clearfix spring">
		<a href="http://www.springframework.org"><img src="${request.contextPath}/resources/images/powered-by-spring.png" alt="Powered by Spring" /></a>
	</div>
</div>

</body>
</f:view>
</html>